home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Protect Images.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
1KB
|
59 lines
[SUBJECT]
Description=Protect images to be saved on the disk
ImageIndex=-1
Folder=Tools
[HEAD_TEXT]
;<!-- This script and many more are available free online at -->
;<!-- The JavaScript Source!! http://javascript.internet.com -->
;
;<script language="JavaScript">
;
;<!-- Begin
;function protect(evt)
;{
; if (navigator.appName != 'Microsoft Internet Explorer')
; {
; if (evt.which != 3)
; return true;
; };
; alert("`message`");
; return false;
;}
;
;
;function trap()
;{
; if(document.images)
; {
; if(navigator.appName != 'Microsoft Internet Explorer')
; {
; for(i=0;i<document.images.length;i++)
; document.images[i].onmousedown = protect;
; }
; else
; {
; for(i=0;i<document.images.length;i++)
; document.images[i].oncontextmenu = protect;
; }
; }
;}
;
;// End -->
;</script>
;
[BODY_TAG]
;onLoad="trap()"
[BODY_TEXT]
;
[`message`]
Kind=S
Value=Sorry, you don't have permission to right-click.